
<!DOCTYPE html>
<html lang="zh-CN" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>浪子之心</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="Blog,"> 
    <meta name="description" content="MrChen Bolg,"> 
    <meta name="author" content="Jack Chen"> 
    <link rel="alternative" href="atom.xml" title="浪子之心" type="application/atom+xml"> 
    <link rel="icon" href="/blog/img/favicon.png"> 
    
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">

    
<link rel="stylesheet" href="/blog/css/diaspora.css">

<meta name="generator" content="Hexo 5.4.1"><link rel="stylesheet" href="/blog/css/prism.css" type="text/css"></head>

<body class="loading">
    <span id="config-title" style="display:none">浪子之心</span>
    <div id="loader"></div>
    <div class="nav">
    <ul id="menu-menu" class="menu">
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="//" title="首页" target="_blank" rel="noopener">首页</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/categories/" title="分类" target="_blank" rel="noopener">分类</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/tags/" title="标签" target="_blank" rel="noopener">标签</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/archives/" title="归档" target="_blank" rel="noopener">归档</a>
        </li>
        
        <li class="pview menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/blog/about/" title="关于" target="_blank" rel="noopener">关于</a>
        </li>
        
    </ul>
	<span class="target"></span>
	<center>
	<div class="hitokoto">
		<span class="typed" id="hitokoto" data-st="true"></span>
	</div>
	</center>
	
	<p class="footerlinks">
		<a href="#" class="iconfont icon-null"></a>
		
            <a href="/blog/" title="facebook" class="iconfont icon-facebook" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/" title="twitter" class="iconfont icon-twitter" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/" title="github" class="iconfont icon-github" target="_blank" rel="noopener"> </a>
        
            <a href="/blog/img/logo.png" title="wechat" class="iconfont icon-wechat" target="_blank" rel="noopener"> </a>
        
            <a href="mailto:3093972221@qq.com" title="email" class="iconfont icon-email" target="_blank" rel="noopener"> </a>
        
		<a href="#" class="iconfont icon-null"></a>
	</p>
	
    <p id="copyright">
        &copy; 2022 Jack Chen.
        <span> | </span>Powered by <a href="https://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        <span> | </span>Theme <a href="https://github.com/Fechin/hexo-theme-diaspora" title="Diaspora" target="_blank" rel="noopener">Diaspora</a> by Fechin
		
    </p>
</div>

<div id="container">
    
<div id="screen">
    <div id="mark">
        <div class="layer" data-depth="0.4">
            <img src="/blog/img/write-blog-tools.jpeg" id="cover" crossorigin="anonymous" width="1920" height="1080">
        </div>
    </div>
    <div id="vibrant">
        <svg viewBox="0 0 2880 1620" height="100%" preserveAspectRatio="xMaxYMax slice">
            <polygon opacity="0.7" points="2000,1620 0,1620 0,0 600,0 "/>
        </svg>
        <div></div>
    </div>
    <div id="header">
        <div>
            <a class="image-logo" href="/"></a>
			
			<div class="iconfont icon-search switchsearch" href="/search/" title="搜索"></div>
			
            <div class="iconfont icon-menu switchmenu"></div>
        </div>
    </div>
    
    <div id="post0">
        <p>四月 11, 2022</p>
        <h2><a href="/blog/2022/04/11/Games104%E7%AC%AC5%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第5节记录" class="posttitle">Games104第5节记录</a></h2>
        <p class="summary">光照，材质，着色
光照第一个挑战多样的光
复杂的光照信息
第二个挑战半球光照和散射信息收集的困难
第三个挑战任何物...</p>
    </div>
    
</div>

    <div id="primary">
        
<div class="post">
    <a href="/blog/2022/04/11/Games104%E7%AC%AC5%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第5节记录">
        <img src="http://mrchenlearnspace.gitee.io/image/30.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 11, 2022</p>
        <h3><a href="/blog/2022/04/11/Games104%E7%AC%AC5%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第5节记录" class="posttitle">Games104第5节记录</a></h3>
        <p>光照，材质，着色
光照第一个挑战多样的光
复杂的光照信息
第二个挑战半球光照和散射信息收集的困难
第三个挑战任何物体会变成光源
从简单开始简单的光照解决方...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/04/07/Ubuntu%E7%B3%BB%E7%BB%9F%E5%92%8CDocker%E7%9A%84%E5%A5%87%E5%A6%99%E6%95%85%E4%BA%8B/" title="Ubuntu系统和Docker的奇妙故事">
        <img src="http://mrchenlearnspace.gitee.io/image/41.png" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 07, 2022</p>
        <h3><a href="/blog/2022/04/07/Ubuntu%E7%B3%BB%E7%BB%9F%E5%92%8CDocker%E7%9A%84%E5%A5%87%E5%A6%99%E6%95%85%E4%BA%8B/" title="Ubuntu系统和Docker的奇妙故事" class="posttitle">Ubuntu系统和Docker的奇妙故事</a></h3>
        <p>装系统下载镜像，制作
跳过更新过程
找到软件和更新
寻找最佳镜像源
设置好再更新镜像
内网穿透用frp进行穿透
公网服务器frps.ini
123[com...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/04/04/Games104%E7%AC%AC4%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第4节记录">
        <img src="http://mrchenlearnspace.gitee.io/image/29.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 04, 2022</p>
        <h3><a href="/blog/2022/04/04/Games104%E7%AC%AC4%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第4节记录" class="posttitle">Games104第4节记录</a></h3>
        <p>游戏渲染的挑战


渲染只能占最多20%
渲染在游戏引擎中
GPUSIMD and SIMT

数据从cpu到GPU
缓存的影响

其他平台的显卡架构
可...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/04/03/%E9%80%8F%E5%85%89%E6%95%88%E6%9E%9C%E6%A8%A1%E6%8B%9F/" title="透光效果模拟">
        <img src="http://mrchenlearnspace.gitee.io/image/21.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 03, 2022</p>
        <h3><a href="/blog/2022/04/03/%E9%80%8F%E5%85%89%E6%95%88%E6%9E%9C%E6%A8%A1%E6%8B%9F/" title="透光效果模拟" class="posttitle">透光效果模拟</a></h3>
        <p>向量1234float3 diffuse_color = _DiffuseColor;float3 normalDir = normalize(i.nor...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/04/01/%E7%8E%AF%E5%A2%83%E8%B4%B4%E5%9B%BE%E6%8A%80%E6%9C%AF/" title="环境贴图技术">
        <img src="http://mrchenlearnspace.gitee.io/image/12.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>四月 01, 2022</p>
        <h3><a href="/blog/2022/04/01/%E7%8E%AF%E5%A2%83%E8%B4%B4%E5%9B%BE%E6%8A%80%E6%9C%AF/" title="环境贴图技术" class="posttitle">环境贴图技术</a></h3>
        <p>大纲
环境贴图
立方体贴图采样如上
采样缺陷当同一角度，不同位置看过去会得到同样采样，所以不适合平面采样，解决方案后续说。

12345678910111...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/03/26/%E8%89%B2%E8%B0%83%E6%98%A0%E5%B0%84%E8%A7%86%E5%B7%AE%E5%81%8F%E7%A7%BB/" title="色调映射视差偏移">
        <img src="http://mrchenlearnspace.gitee.io/image/15.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 26, 2022</p>
        <h3><a href="/blog/2022/03/26/%E8%89%B2%E8%B0%83%E6%98%A0%E5%B0%84%E8%A7%86%E5%B7%AE%E5%81%8F%E7%A7%BB/" title="色调映射视差偏移" class="posttitle">色调映射视差偏移</a></h3>
        <p>Blinn-Phong半角向量&#x3D;观察方向V+光照方向L；
12345half3 view_dir = normalize(_WorldSpace...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/03/22/OpenCV%E7%9A%84%E8%BE%B9%E7%BC%98%E8%AE%A1%E7%AE%97/" title="OpenCV的边缘计算">
        <img src="http://mrchenlearnspace.gitee.io/image/38.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 22, 2022</p>
        <h3><a href="/blog/2022/03/22/OpenCV%E7%9A%84%E8%BE%B9%E7%BC%98%E8%AE%A1%E7%AE%97/" title="OpenCV的边缘计算" class="posttitle">OpenCV的边缘计算</a></h3>
        <p>基于梯度的检测器
梯边缘，顶边缘，坡边缘
有限差分最简单的梯度算子$$gx&#x3D;f(x+1,y)-f(x,y) \gy&#x3D;f(x,y+1)-...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/03/22/Games104%E7%AC%AC2%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第2节记录">
        <img src="http://mrchenlearnspace.gitee.io/image/27.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 22, 2022</p>
        <h3><a href="/blog/2022/03/22/Games104%E7%AC%AC2%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第2节记录" class="posttitle">Games104第2节记录</a></h3>
        <p>前言Tool Layer    给予开发者使用的工具
Function Layer 
Resource Layer 
Core Layer   核心层
P...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/03/22/Games104%E7%AC%AC3%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第2节记录">
        <img src="http://mrchenlearnspace.gitee.io/image/28.jpg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 22, 2022</p>
        <h3><a href="/blog/2022/03/22/Games104%E7%AC%AC3%E8%8A%82%E8%AE%B0%E5%BD%95/" title="Games104第2节记录" class="posttitle">Games104第2节记录</a></h3>
        <p>如何构建游戏世界如何让游戏世界活起来将物体变成GO（ Game Object）
动态物体

静态物体

环境
​    天空，地形，植被

其他物体
​ ...</p>
    </div>
</div>


<div class="post">
    <a href="/blog/2022/03/21/%E5%85%A8%E6%99%AF%E5%9B%BE%E4%BC%A0%E8%BE%93/" title="全景图传输">
        <img src="/blog/img/javascript-dom-utils.jpeg" class="cover" width="680" height="440">
    </a>
    <div class="else">
        <p>三月 21, 2022</p>
        <h3><a href="/blog/2022/03/21/%E5%85%A8%E6%99%AF%E5%9B%BE%E4%BC%A0%E8%BE%93/" title="全景图传输" class="posttitle">全景图传输</a></h3>
        <p>全景图知识储备将全景图转变为Byte数组12345Camera.main.RenderToCubemap(cm);texture2D = new Text...</p>
    </div>
</div>


    </div>
    
    <div id="pager"><a href="/blog/page/4/" class="more">加载更多</a></div>
    
</div>
<div id="preview"></div>



</body>

<script src="//cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>


<script src="//lib.baomitu.com/jquery/1.8.3/jquery.min.js"></script>
<script src="/blog/js/plugin.js"></script>
<script src="/blog/js/typed.js"></script>
<script src="/blog/js/diaspora.js"></script>


<link rel="stylesheet" href="/blog/photoswipe/photoswipe.css">
<link rel="stylesheet" href="/blog/photoswipe/default-skin/default-skin.css">


<script src="/blog/photoswipe/photoswipe.min.js"></script>
<script src="/blog/photoswipe/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>



<script type="text/x-mathjax-config">
    MathJax.Hub.Config({"HTML-CSS": { preferredFont: "TeX", availableFonts: ["STIX","TeX"], linebreaks: { automatic:true }, EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50) },
        tex2jax: { inlineMath: [ ["$", "$"], ["\\(","\\)"] ], processEscapes: true, ignoreClass: "tex2jax_ignore|dno",skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']},
        TeX: {  noUndefined: { attributes: { mathcolor: "red", mathbackground: "#FFEEEE", mathsize: "90%" } }, Macros: { href: "{}" } },
        messageStyle: "none"
    });
</script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for(i=0; i < all.length; i += 1) {
            all[i].SourceElement().parentNode.className += ' has-jax';
        }
    });
</script>

<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>



<!-- Google Analytics -->
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-YMJ8CBH8F7"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-YMJ8CBH8F7');
</script>
<!-- End Google Analytics -->


</html>
